package com.uwo.house.service;

import com.uwo.house.beans.request.PackageQueryReq;
import com.uwo.house.beans.request.PackageReq;
import com.uwo.house.beans.response.MaterialDictionary;
import com.uwo.house.beans.response.PackageDetailsResp;
import com.uwo.house.beans.response.PackageListResp;

import java.util.List;

/**
 * Created by cyn1c on 2017/7/23.
 */
public interface IPackageManagerService {
    int addPackage(PackageReq packageReq);

    int modifyPackage(PackageReq packageReq);

    List<PackageListResp> getPackageList(PackageQueryReq packageQueryReq);

    PackageDetailsResp getPackageDetailsById(String packageId);

    int deletePackage(String packageId);

    List<MaterialDictionary> getMaterialDictionary();

    int checkIdExist(String packageId);
}
